package cn.com.yiqi.wsc.entity.order;

import java.math.BigDecimal;
import java.util.Date;

public class OrderMain {
    /**
    * 主键ID
    */
    private Integer id;

    /**
    * pid
    */
    private Integer pid;

    /**
    * 商家id
    */
    private Integer orgId;
    /**
     * 商家名称
     */
    private String orgName;

    /**
    * 订单流水号
    */
    private String orderCode;

    /**
    * 客户id
    */
    private Integer customerId;

    /**
    * 类型 1客户下单 2获奖订单 3兑换订单
    */
    private Byte type;

    /**
    * 客户地址id
    */
    private Integer customerAddressId;

    /**
    * 订单创建时间
    */
    private Date createTime;

    /**
    * 订单完成支付时间
    */
    private Date payTime;

    /**
    * 订单发货时间
    */
    private Date shippingTime;

    /**
    * 订单确认时间
    */
    private Date confirmedTime;

    /**
    * 客户留言
    */
    private String customerFeedback;

    /**
    * 订单状态 -1取消 1待付款 2待发货 3待收货 4已确认
    */
    private Byte status;
    private String statusName;
    /**
    * 订单关闭类型 1_客户取消订单，2_超时关闭
    */
    private Byte closeType;

    /**
    * 订单取消原因
    */
    private String cancelReason;

    /**
    * 订单总金额
    */
    private BigDecimal amount;

    /**
    * 实际付款金额
    */
    private BigDecimal realPayAmount;

    /**
    * 优惠金额
    */
    private BigDecimal promotionAmount;



    /**
    * 订单备注
    */
    private String memo;

    /**
    * 是否删除 0否 1是
    */
    private Byte isDelete;

    /**
    * 新增时间
    */
    private Date insertTime;

    /**
    * 新增用户id
    */
    private Integer insertUserId;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 修改用户id
    */
    private Integer updateUserId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Integer getCustomerAddressId() {
        return customerAddressId;
    }

    public void setCustomerAddressId(Integer customerAddressId) {
        this.customerAddressId = customerAddressId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(Date shippingTime) {
        this.shippingTime = shippingTime;
    }

    public Date getConfirmedTime() {
        return confirmedTime;
    }

    public void setConfirmedTime(Date confirmedTime) {
        this.confirmedTime = confirmedTime;
    }

    public String getCustomerFeedback() {
        return customerFeedback;
    }

    public void setCustomerFeedback(String customerFeedback) {
        this.customerFeedback = customerFeedback;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getCloseType() {
        return closeType;
    }

    public void setCloseType(Byte closeType) {
        this.closeType = closeType;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getRealPayAmount() {
        return realPayAmount;
    }

    public void setRealPayAmount(BigDecimal realPayAmount) {
        this.realPayAmount = realPayAmount;
    }

    public BigDecimal getPromotionAmount() {
        return promotionAmount;
    }

    public void setPromotionAmount(BigDecimal promotionAmount) {
        this.promotionAmount = promotionAmount;
    }



    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }
}